import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { BizDeviceProductionVo } from '@/api/device/production/types';

/**
 * 查询列表
 * @param query
 * @returns {*}
 */

export const listDeviceProduction = (query?: PageQuery): AxiosPromise<BizDeviceProductionVo[]> => {
  return request({
    url: '/biz-device/deviceProduction/list',
    method: 'get',
    params: query
  });
};